// samsting : this file is auto create.

#include "Cdn/2014-11-11/DescribeCdnMonitorDataResponse.h"

namespace aliyun { namespace Cdn {

DescribeCdnMonitorDataResponse::DescribeCdnMonitorDataResponse() {
}

const string& DescribeCdnMonitorDataResponse::CDNMonitorData::GetTimeStamp(void) const {
  return TimeStamp_;
}

const string& DescribeCdnMonitorDataResponse::CDNMonitorData::GetQueryPerSecond(void) const {
  return QueryPerSecond_;
}

const string& DescribeCdnMonitorDataResponse::CDNMonitorData::GetBytesPerSecond(void) const {
  return BytesPerSecond_;
}

const string& DescribeCdnMonitorDataResponse::CDNMonitorData::GetBytesHitRate(void) const {
  return BytesHitRate_;
}

const string& DescribeCdnMonitorDataResponse::CDNMonitorData::GetRequestHitRate(void) const {
  return RequestHitRate_;
}

const string& DescribeCdnMonitorDataResponse::CDNMonitorData::GetAverageObjectSize(void) const {
  return AverageObjectSize_;
}

const std::vector<DescribeCdnMonitorDataResponse::CDNMonitorData>& DescribeCdnMonitorDataResponse::GetMonitorDatas(void) const {
  return MonitorDatas_;
}

const string& DescribeCdnMonitorDataResponse::GetDomainName(void) const {
  return DomainName_;
}

int64 DescribeCdnMonitorDataResponse::GetMonitorInterval(void) const {
  return MonitorInterval_;
}

const string& DescribeCdnMonitorDataResponse::GetStartTime(void) const {
  return StartTime_;
}

const string& DescribeCdnMonitorDataResponse::GetEndTime(void) const {
  return EndTime_;
}

const char* DescribeCdnMonitorDataResponse::BaseKey(void) {
  return "DescribeCdnMonitorDataResponse";
}

void DescribeCdnMonitorDataResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int MonitorDatas__length = 0;
  UnmarshallerInt(MonitorDatas__length, response_map, "DescribeCdnMonitorDataResponse.MonitorDatas.Length");
  if(MonitorDatas__length >= 0) {
    MonitorDatas_.resize(MonitorDatas__length);
    for(int i1 = 0; i1 < MonitorDatas__length; i1++) {
      UnmarshallerString(MonitorDatas_[i1].TimeStamp_, response_map, "DescribeCdnMonitorDataResponse.MonitorDatas["+string_ValueOfInt(i1)+"].TimeStamp");
      UnmarshallerString(MonitorDatas_[i1].QueryPerSecond_, response_map, "DescribeCdnMonitorDataResponse.MonitorDatas["+string_ValueOfInt(i1)+"].QueryPerSecond");
      UnmarshallerString(MonitorDatas_[i1].BytesPerSecond_, response_map, "DescribeCdnMonitorDataResponse.MonitorDatas["+string_ValueOfInt(i1)+"].BytesPerSecond");
      UnmarshallerString(MonitorDatas_[i1].BytesHitRate_, response_map, "DescribeCdnMonitorDataResponse.MonitorDatas["+string_ValueOfInt(i1)+"].BytesHitRate");
      UnmarshallerString(MonitorDatas_[i1].RequestHitRate_, response_map, "DescribeCdnMonitorDataResponse.MonitorDatas["+string_ValueOfInt(i1)+"].RequestHitRate");
      UnmarshallerString(MonitorDatas_[i1].AverageObjectSize_, response_map, "DescribeCdnMonitorDataResponse.MonitorDatas["+string_ValueOfInt(i1)+"].AverageObjectSize");
    } // for(int i1 = 0; i1 < MonitorDatas__length; i1++) {
  } // if(MonitorDatas__length >= 0) {

  UnmarshallerString(DomainName_, response_map, "DescribeCdnMonitorDataResponse.DomainName");
  UnmarshallerInt64(MonitorInterval_, response_map, "DescribeCdnMonitorDataResponse.MonitorInterval");
  UnmarshallerString(StartTime_, response_map, "DescribeCdnMonitorDataResponse.StartTime");
  UnmarshallerString(EndTime_, response_map, "DescribeCdnMonitorDataResponse.EndTime");
}


} } // namespace aliyun { namespace Cdn {

// end of file 
